package com.youtui.manager.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.youtui.manager.model.Developer;

public interface IDeveloperService {

	public Developer developerAdd(Developer developer);

	public Developer update(Developer developer);

	public PageInfo<Developer> findDeveloperPagelist(Developer developer, int page, int rows);

	public List<Developer> findDeveloperlist(Developer developer);

	
	public Developer findDeveloperById(Long id);

	public Developer findDeveloperByAppkey(String appkey);
	
	/**
	 * 查询loginName或者mobile
	 * @param userName
	 * @return
	 */
	public Developer findDeveloperByUserName(String userName);
	
	public Developer findDeveloperByLoginName(String loginName);
	
	public Developer findDeveloperByMobile(String mobile);


	public Developer clear(Developer developer);
}
